package eai.tp2.core.datamodel;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import eai.tp2.core.*;
import java.util.Hashtable;
import java.util.List;

/**
 * It represents a summary of a brand.
 * 
 * @author Simão
 */
public class CameraSummary {

    private String manufacturer;
    private int numCameras;
    private Announcement mostRecentCamera;
    private Announcement oldestCamera;
    private Resolution maxResolution;
    private Resolution minResolution;
    private List<String> manufacturerModels;


    public CameraSummary(String manufacturer, int numCameras, Announcement mostRecentCamera, Announcement oldestCamera, Resolution maxResolution, Resolution minResolution, List<String> manufacturerModels) {
       this.manufacturer = manufacturer;
        this.numCameras = numCameras;
        this.mostRecentCamera = mostRecentCamera;
        this.oldestCamera = oldestCamera;
        this.maxResolution = maxResolution;
        this.minResolution = minResolution;
        this.manufacturerModels = manufacturerModels;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public List<String> getManufacturerModels() {
        return manufacturerModels;
    }

    public void setManufacturerModels(List<String> manufacturerModels) {
        this.manufacturerModels = manufacturerModels;
    }

    public Resolution getMaxResolution() {
        return maxResolution;
    }

    public void setMaxResolution(Resolution maxResolution) {
        this.maxResolution = maxResolution;
    }

    public Resolution getMinResolution() {
        return minResolution;
    }

    public void setMinResolution(Resolution minResolution) {
        this.minResolution = minResolution;
    }

    public Announcement getMostRecentCamera() {
        return mostRecentCamera;
    }

    public void setMostRecentCamera(Announcement mostRecentCamera) {
        this.mostRecentCamera = mostRecentCamera;
    }

    public int getNumCameras() {
        return numCameras;
    }

    public void setNumCameras(int numCameras) {
        this.numCameras = numCameras;
    }

    public Announcement getOldestCamera() {
        return oldestCamera;
    }

    public void setOldestCamera(Announcement oldestCamera) {
        this.oldestCamera = oldestCamera;
    }
}
